#if IN_FILE(__GTK_TREE_SELECTION_C__)
gtk_tree_selection_count_selected_rows
gtk_tree_selection_get_mode
+gtk_tree_selection_get_select_function
gtk_tree_selection_get_selected
gtk_tree_selection_get_selected_rows
gtk_tree_selection_get_tree_view
selection->destroy = destroy;
}
+/**
+ * gtk_tree_selection_get_select_function:
+ * @selection: A #GtkTreeSelection.
+ *
+ * Returns the current selection function.
+ *
+ * Return value: The function.
+ *
+ * Since: GSEAL-branch
+ **/
+GtkTreeSelectionFunc
+gtk_tree_selection_get_select_function (GtkTreeSelection *selection)
+{
+ g_return_val_if_fail (GTK_IS_TREE_SELECTION (selection), NULL);
+
+ return selection->user_func;
+}
+
/**
* gtk_tree_selection_get_user_data:
* @selection: A #GtkTreeSelection.
gpointer gtk_tree_selection_get_user_data (GtkTreeSelection *selection);
GtkTreeView* gtk_tree_selection_get_tree_view (GtkTreeSelection *selection);
+GtkTreeSelectionFunc gtk_tree_selection_get_select_function (GtkTreeSelection *selection);
+
/* Only meaningful if GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE is set */
/* Use selected_foreach or get_selected_rows for GTK_SELECTION_MULTIPLE */
gboolean gtk_tree_selection_get_selected (GtkTreeSelection *selection,